#!/usr/bin/python
from sys import argv

get = 0

if len (argv) == 1:
    print ("got 1 param please")
    print ("for example:\n\tget-volume-from `pactl get-sink-volume @DEFAULT_SINK@`")
    exit (1)

for i in argv:
  if "%" in i:
    get = int (i.replace ("%", ""))
    break

#  return get:
print (get)
